import http from "@/utils/http";

/**
 * 添加商品到购物车
 * @param {Object} data 要添加的商品数据 skuId 和 count
 */
export const postMemberCart = (data) => {
  return http({ url: "/member/cart", data, method: "post" });
};